// JavaScript Document
function $$(id){
	return document.getElementById(id);}
	function pageload(){
		var strName=localStorage.getItem("keyName");
				var strName=localStorage.getItem("keyPass");
		if(strName){
			$$("txtName").value=strName;
	}
		if(strPass){
			$$("txtPass").value=strPass;
	}
	}
	function btnLogin_click(){
		var strName=$$("txtName").value
				var strName=$$("txtPass").value;
		localStorage.setItem("keyName",strName);	
	$$("spnStatus").className="status";
	$$("spnStatus").innerHTML="登录成功！";
	}